package com.feimt;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@SpringBootApplication
/*开启注解事务*/
@EnableTransactionManagement
/*扫描映射*/
@MapperScan(basePackages = "com.feimt.mapper")
/*开启定时任务*/
@EnableScheduling
public class FeimtApplication {
    public static void main(String[] args) {
        SpringApplication.run(FeimtApplication.class,args);
        log.info("项目启动成功！");
    }
}
